
var assert = require('../assert');
exports.invitation = function(req,res,next){
    var code = req.query.params;
    if(!code){
        res.render('error',assert.getRes(404,"参数传递失败",{},true));
    }
    res.render('invitation/invitation',{code:code});
};
exports.deposit = function(req,res,next){
    res.render('invitation/deposit');
};
exports.income = function(req,res,next){
    res.render('invitation/income');
};
exports.level = function(req,res,next){
    res.render('invitation/level');
};
exports.team = function(req,res,next){
    res.render('invitation/team');
};